
#ifndef __SYSFS_PWM_DEBIAN_
#define __SYSFS_PWM_DEBIAN_

#include <stdio.h>


#define SYSFS_PWM_DEBUG 1
#if SYSFS_PWM_DEBUG
#define SYSFS_PWM_Debug(__info, ...) printf("Debug: " __info, ##__VA_ARGS__)
#else
#define SYSFS_PWM_Debug(__info, ...)
#endif



int pwm_export(int channel) ;
int pwm_unexport(int channel);
int pwm_set_period(int channel, int period_ns);
int pwm_set_duty_cycle(int channel, int duty_cycle_ns) ;
int pwm_enable(int channel, int enable) ;

#endif
